package com.zhuss.job;

import java.lang.annotation.*;

/**
 * JobEnable
 *
 * @Author zhushanshuo
 * @Date 2024-08-26 11:33:29
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface JobEnable {

    /**
     * 定时任务表达式
     * @return
     */
    String cron() default "0 0 12 * * ?";



}
